import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)

export default new Router({
  routes: [{
      path: '/',
      name: 'Home',
      component: () => import('../page/Home/home.vue')
    },
    {
      path: '/songList/:id',
      name: 'songList',
      component: () => import('../page/SongList/SongList.vue')
    },
    {
      path: '/songPlay/:id',
      name: 'songPlay',
      component: () => import('../page/SongPlay/play.vue')
    },
    {
      path: '/singerList/:id',
      name: 'SingerList',
      component: () => import('../page/singerList/singerList.vue')
    },
    {
      path: '/musicMv/:id',
      name: 'MusicMv',
      component: () => import('../page/MusicMv/musicMv.vue')
    }
  ]
})